﻿namespace 备忘录模式
{
    /// <summary>
    /// //角色状态存储箱
    /// </summary>
   public class RoleStateMemento
    {
        public RoleStateMemento(int vit, int atk, int def)
        {
            Vitality = vit;
            Attack = atk;
            Defense = def;
        }
        //生命力
        public int Vitality { get; set; }

        //攻击力
        public int Attack { get; set; }

        //防御力
        public int Defense { get; set; }
    }
}
